home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Interapplication Comm / MakeStartupAliasToMe / MakeFile < prev    next >
Encoding:
Makefile  |  2000-09-28  |  3.7 KB  |  76 lines  |  [TEXT/MPS ]

  1. #
  2. #     File: MakeFile
  3. #     
  4. #     Description:
  5. #         MPW build rules for the MakeStartupAlias application.
  6. #     Copyright:
  7. #         © Copyright 2000 Apple Computer, Inc. All rights reserved.
  8. #     
  9. #     Disclaimer:
  10. #         IMPORTANT:  This Apple software is supplied to you by Apple Computer, Inc.
  11. #         ("Apple") in consideration of your agreement to the following terms, and your
  12. #         use, installation, modification or redistribution of this Apple software
  13. #         constitutes acceptance of these terms.  If you do not agree with these terms,
  14. #         please do not use, install, modify or redistribute this Apple software.
  15. #         In consideration of your agreement to abide by the following terms, and subject
  16. #         to these terms, Apple grants you a personal, non-exclusive license, under Apple’s
  17. #         copyrights in this original Apple software (the "Apple Software"), to use,
  18. #         reproduce, modify and redistribute the Apple Software, with or without
  19. #         modifications, in source and/or binary forms; provided that if you redistribute
  20. #         the Apple Software in its entirety and without modifications, you must retain
  21. #         this notice and the following text and disclaimers in all such redistributions of
  22. #         the Apple Software.  Neither the name, trademarks, service marks or logos of
  23. #         Apple Computer, Inc. may be used to endorse or promote products derived from the
  24. #         Apple Software without specific prior written permission from Apple.  Except as
  25. #         expressly stated in this notice, no other rights or licenses, express or implied,
  26. #         are granted by Apple herein, including but not limited to any patent rights that
  27. #         may be infringed by your derivative works or by other works in which the Apple
  28. #         Software may be incorporated.
  29. #         The Apple Software is provided by Apple on an "AS IS" basis.  APPLE MAKES NO
  30. #         WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED
  31. #         WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  32. #         PURPOSE, REGARDING THE APPLE SOFTWARE OR ITS USE AND OPERATION ALONE OR IN
  33. #         COMBINATION WITH YOUR PRODUCTS.
  34. #         IN NO EVENT SHALL APPLE BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL OR
  35. #         CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  36. #         GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  37. #         ARISING IN ANY WAY OUT OF THE USE, REPRODUCTION, MODIFICATION AND/OR DISTRIBUTION
  38. #         OF THE APPLE SOFTWARE, HOWEVER CAUSED AND WHETHER UNDER THEORY OF CONTRACT, TORT
  39. #         (INCLUDING NEGLIGENCE), STRICT LIABILITY OR OTHERWISE, EVEN IF APPLE HAS BEEN
  40. #         ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  41. #     Change History (most recent first):
  42. #         Monday, March 27, 2000 -- created
  43. #
  44.  
  45. CCppc  = MrC -w 35 -align power -proto strict -d TARGET_API_MAC_CARBON=1
  46.  
  47. RezFiles = MakeStartupAliasToMe.r
  48.  
  49. PPCObjects = :obj:MakeStartupAliasToMe.c.ppc :obj:debugf.c.ppc
  50.  
  51.  
  52. MakeStartupAliasToMe ƒƒ {RezFiles}  {PPCObjects} MakeStartupAliasToMe.rsrc
  53.     Rez -i "{RIncludes}" -o MakeStartupAliasToMe {RezFiles}
  54.  
  55.  
  56. MakeStartupAliasToMe ƒƒ  {RezFiles} {PPCObjects} MakeStartupAliasToMe.rsrc
  57.     PPCLink -t 'APPL' -m main -o MakeStartupAliasToMe ∂
  58.         {PPCObjects} ∂
  59.         {PPCLibraries}PPCCRuntime.o ∂
  60.         {SharedLibraries}CarbonLib
  61.  
  62. :obj:MakeStartupAliasToMe.c.ppc ƒ MakeStartupAliasToMe.c debugf.h :obj:make.com
  63.     {CCppc} MakeStartupAliasToMe.c -o :obj:MakeStartupAliasToMe.c.ppc
  64.  
  65. :obj:debugf.c.ppc ƒ debugf.c debugf.h :obj:make.com
  66.     {CCppc} debugf.c -o :obj:debugf.c.ppc
  67.  
  68. :obj:make.com ƒ MakeFile
  69.     ( NewFolder obj || set status 0 ) ∑ dev:null
  70.     Echo "ScrollingTextUserPane 1.0" > :obj:make.com
  71.